package com.myjob.src.share.domain;



/**
 * <p>模块：行政区域（省/市/区）</p>
 *
 * <p> 2012-02-06  13:12:08 星期一 </p>
 * <p> tempalte version 2011-12-06 </p>
 *
 * @author Bobbie.qi
 */
 

public class RegionalismBo {
   
    private String provId; //省编号 
    private String provName; //省 
    private String cityId; //市/区编号 
    private String cityName; //市/区 
    private String distId; //县/区编号 
    private String distName; //县/区 
       
   
    public void setProvId(final String provId){
       	this.provId=provId ;
    }
       
    public String getProvId(){
       	return provId ;
   }
       
    public void setProvName(final String provName){
       	this.provName=provName ;
    }
       
    public String getProvName(){
       	return provName ;
   }
       
    public void setCityId(final String cityId){
       	this.cityId=cityId ;
    }
       
    public String getCityId(){
       	return cityId ;
   }
       
    public void setCityName(final String cityName){
       	this.cityName=cityName ;
    }
       
    public String getCityName(){
       	return cityName ;
   }
       
    public void setDistId(final String distId){
       	this.distId=distId ;
    }
       
    public String getDistId(){
       	return distId ;
   }
       
    public void setDistName(final String distName){
       	this.distName=distName ;
    }
       
    public String getDistName(){
       	return distName ;
   }

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((cityId == null) ? 0 : cityId.hashCode());
		result = prime * result + ((cityName == null) ? 0 : cityName.hashCode());
		result = prime * result + ((distId == null) ? 0 : distId.hashCode());
		result = prime * result + ((distName == null) ? 0 : distName.hashCode());
		result = prime * result + ((provId == null) ? 0 : provId.hashCode());
		result = prime * result + ((provName == null) ? 0 : provName.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		RegionalismBo other = (RegionalismBo) obj;
		if (cityId == null) {
			if (other.cityId != null)
				return false;
		} else if (!cityId.equals(other.cityId))
			return false;
		if (cityName == null) {
			if (other.cityName != null)
				return false;
		} else if (!cityName.equals(other.cityName))
			return false;
		if (distId == null) {
			if (other.distId != null)
				return false;
		} else if (!distId.equals(other.distId))
			return false;
		if (distName == null) {
			if (other.distName != null)
				return false;
		} else if (!distName.equals(other.distName))
			return false;
		if (provId == null) {
			if (other.provId != null)
				return false;
		} else if (!provId.equals(other.provId))
			return false;
		if (provName == null) {
			if (other.provName != null)
				return false;
		} else if (!provName.equals(other.provName))
			return false;
		return true;
	}
       
}